package com.tmxk.service.role;

import com.tmxk.po.SysRole;

import java.util.List;

public interface SysRoleService {
    //查询所有[条件]
    List<SysRole> queryAllRoleByInfo(SysRole role);

    //查询所有条数
    Long selectCount(SysRole role);

    //查询单条
    SysRole queryRoleById(Integer roleId);

    //新增
    int saveSysRole(SysRole role);

    //删除
    int deleteSysRoleById(Integer roleId);

    //修改
    int updateSysRole(SysRole role);
}
